﻿using RestSharp;
using System;
using Ymatou.ServiceCenter;
using YmtAuth.Dto;

namespace Ymatou.User.Dto.Auth
{
    /// <summary>
    /// 获取/修改 用户凭据
    /// </summary>
    [Resource("auth.ymatou.com", "/json/reply/UserBillsRequestDto", Method.GET, ParameterBuildType.UrlQueryString)]
    public class UserBillsRequestDto : BaseRequestDto
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// login password
        /// </summary>
        public string LoginPassword { get; set; }
        /// <summary>
        ///  Old Login Password
        /// </summary>
        public string OldLoginPassword { get; set; }
        /// <summary>
        /// login mail
        /// </summary>
        public string Mail { get; set; }
        /// <summary>
        /// 登录手机
        /// </summary>
        public string Mobile { get; set; }
        /// <summary>
        /// 登录ID
        /// </summary>
        public string LoginId { get; set; }
        /// <summary>
        /// 交易密码
        /// </summary>
        public string TradingPassword { get; set; }
        /// <summary>
        ///Old Trading Password 
        /// </summary>
        public string OldTradingPassword { get; set; }
        /// <summary>
        /// 锁定
        /// </summary>
        public bool Locked { get; set; }
        /// <summary>
        ///  操作来源
        /// </summary>
        public UserSource ActionSource { get; set; }
        /// <summary>
        /// 客户端类型
        /// </summary>
        public string ClientType { get; set; }
        /// <summary>
        /// 客户端IP
        /// </summary>
        public string ClientIp { get; set; }
    }
}
